<template>
  <div class="box">
    我是一个美丽的盒子

    <div v-html="myHtml"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      myHtml: `<div class="box">444</div>`,
    };
  },
};
</script>

<style scoped>
.box {
  background-color: aquamarine;
  height: 200px;
  width: 200px;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
</style>